package com.upf1sh.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.upf1sh.bean.Robot;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface RobotMapper extends BaseMapper<Robot> {
    @Select("select * from robot ORDER BY time DESC")
    public List<Robot> selectAllByTime();



}
